[INFO] cloning repository https://github.com/rgb-org/rgb-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgb-org/rgb-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgb-org%2Frgb-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgb-org%2Frgb-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79baab1b7533185bf603977ce70ed0648dc51e15
[INFO] testing rgb-org/rgb-core against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgb-org%2Frgb-core" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rgb-org/rgb-core on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rgb-org/rgb-core
[INFO] finished tweaking git repo https://github.com/rgb-org/rgb-core
[INFO] tweaked toml for git repo https://github.com/rgb-org/rgb-core written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/rgb-org/rgb-core already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a9266fe13feb0d4b51fc18ede217cc5b90e9074b77e2752d93760cad1c75626
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0a9266fe13feb0d4b51fc18ede217cc5b90e9074b77e2752d93760cad1c75626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a9266fe13feb0d4b51fc18ede217cc5b90e9074b77e2752d93760cad1c75626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a9266fe13feb0d4b51fc18ede217cc5b90e9074b77e2752d93760cad1c75626", kill_on_drop: false }`
[INFO] [stdout] 0a9266fe13feb0d4b51fc18ede217cc5b90e9074b77e2752d93760cad1c75626
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8c05d591d7eadd195feba9491b067e87231f1d93f822a337437be7c9e0e3a0c6
[INFO] running `Command { std: "docker" "start" "-a" "8c05d591d7eadd195feba9491b067e87231f1d93f822a337437be7c9e0e3a0c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling odds v0.2.26
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling signature v1.3.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling os_str_bytes v2.4.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling secp256k1-sys v0.4.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling grin_secp256k1zkp v0.7.10
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling ed25519 v1.0.3
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling arrayvec v0.3.25
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling zeroize_derive v0.9.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling socks v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling zeroize v0.9.3
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling rustls v0.16.0
[INFO] [stderr]    Compiling webpki-roots v0.19.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling amplify_derive_helpers v0.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling amplify_derive v2.5.3
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling zeroize v1.2.0
[INFO] [stderr]    Compiling curve25519-dalek v3.0.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling serde_with_macros v1.2.2
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling serde_str_helpers v0.1.2
[INFO] [stderr]    Compiling serde_yaml v0.8.17
[INFO] [stderr]    Compiling bitcoin_hashes v0.9.4
[INFO] [stderr]    Compiling secp256k1 v0.20.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling serde_with v1.5.1
[INFO] [stderr]    Compiling stringly_conversions v0.1.1
[INFO] [stderr]    Compiling amplify v3.2.0
[INFO] [stderr]    Compiling strict_encoding_derive v1.0.0
[INFO] [stderr]    Compiling lightning_encoding_derive v0.4.0
[INFO] [stderr]    Compiling bitcoin v0.26.0
[INFO] [stderr]    Compiling miniscript v5.1.0
[INFO] [stderr]    Compiling slip132 v0.3.3
[INFO] [stderr]    Compiling electrum-client v0.6.0
[INFO] [stderr]    Compiling strict_encoding v1.2.3
[INFO] [stderr]    Compiling descriptor-wallet v0.4.0
[INFO] [stderr]    Compiling client_side_validation v0.4.0
[INFO] [stderr]    Compiling lightning_encoding v0.4.0-beta.1
[INFO] [stderr]    Compiling lnpbp v0.5.0-alpha (https://github.com/LNP-BP/rust-lnpbp#97780979)
[INFO] [stderr]    Compiling rgb-core v0.5.0-alpha (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `super::Occurrences`
[INFO] [stdout]   --> src/schema/nodes.rs:19:32
[INFO] [stdout]    |
[INFO] [stdout] 19 |     GenesisAction, NodeAction, Occurrences, TransitionAbi, TransitionAction,
[INFO] [stdout]    |                                ^^^^^^^^^^^ no `Occurrences` in `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `types::Occurrences`
[INFO] [stdout]   --> src/schema/mod.rs:35:59
[INFO] [stdout]    |
[INFO] [stdout] 35 |     elliptic_curve, Bits, DigestAlgorithm, EllipticCurve, Occurrences,
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           no `Occurrences` in `schema::types`
[INFO] [stdout]    |                                                           help: a similar name exists in the module: `Occurences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             Occurrences::Once => 1,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             Occurrences::NoneOrOnce => 0,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             Occurrences::NoneOrMore => 0,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |             Occurrences::OnceOrMore => 1,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Occurrences::NoneOrUpTo(_) => 0,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |             Occurrences::OnceOrUpTo(_) => 1,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |             Occurrences::Exactly(val) => *val,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |             Occurrences::Range(range) => *range.start(),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Occurrences::Once | Occurrences::NoneOrOnce => 1,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Occurrences::Once | Occurrences::NoneOrOnce => 1,
[INFO] [stdout]     |                                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             Occurrences::NoneOrMore | Occurrences::OnceOrMore => u16::MAX,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:175:39
[INFO] [stdout]     |
[INFO] [stdout] 175 |             Occurrences::NoneOrMore | Occurrences::OnceOrMore => u16::MAX,
[INFO] [stdout]     |                                       ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             Occurrences::OnceOrUpTo(max) | Occurrences::NoneOrUpTo(max) => *max,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:176:44
[INFO] [stdout]     |
[INFO] [stdout] 176 |             Occurrences::OnceOrUpTo(max) | Occurrences::NoneOrUpTo(max) => *max,
[INFO] [stdout]     |                                            ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |             Occurrences::Exactly(val) => *val,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             Occurrences::Range(range) => *range.end(),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Occurrences::Once if count == 1 => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |             Occurrences::NoneOrOnce if count <= 1 => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |             Occurrences::OnceOrMore if count > 0 => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Occurrences::OnceOrUpTo(max) if count > 0 && count <= *max => {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Occurrences::NoneOrMore => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |             Occurrences::NoneOrUpTo(max) if count <= *max => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             Occurrences::Exactly(val) if count == *val => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             Occurrences::Range(range) if range.contains(&count) => Ok(()),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:368:17
[INFO] [stdout]     |
[INFO] [stdout] 368 |                 Occurrences::NoneOrOnce => (0, 1),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:369:17
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 Occurrences::Once => (1, 1),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:370:17
[INFO] [stdout]     |
[INFO] [stdout] 370 |                 Occurrences::NoneOrMore => (0, core::u16::MAX.into()),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:371:17
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 Occurrences::OnceOrMore => (1, core::u16::MAX.into()),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:372:17
[INFO] [stdout]     |
[INFO] [stdout] 372 |                 Occurrences::NoneOrUpTo(max) => (0, *max),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:373:17
[INFO] [stdout]     |
[INFO] [stdout] 373 |                 Occurrences::OnceOrUpTo(max) => (1, *max),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 Occurrences::Exactly(val) => (*val, *val),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:375:17
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 Occurrences::Range(range) => (*range.start(), *range.end()),
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:387:27
[INFO] [stdout]     |
[INFO] [stdout] 387 |                 (0, 1) => Occurrences::NoneOrOnce,
[INFO] [stdout]     |                           ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:388:27
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 (1, 1) => Occurrences::Once,
[INFO] [stdout]     |                           ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:389:56
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 (0, max) if max == ::core::u16::MAX => Occurrences::NoneOrMore,
[INFO] [stdout]     |                                                        ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:390:56
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 (1, max) if max == ::core::u16::MAX => Occurrences::OnceOrMore,
[INFO] [stdout]     |                                                        ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:391:40
[INFO] [stdout]     |
[INFO] [stdout] 391 |                 (0, max) if max > 0 => Occurrences::NoneOrUpTo(max),
[INFO] [stdout]     |                                        ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:392:40
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 (1, max) if max > 0 => Occurrences::OnceOrUpTo(max),
[INFO] [stdout]     |                                        ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:393:45
[INFO] [stdout]     |
[INFO] [stdout] 393 |                 (min, max) if min == max => Occurrences::Exactly(min),
[INFO] [stdout]     |                                             ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Occurrences`
[INFO] [stdout]    --> src/schema/types.rs:394:31
[INFO] [stdout]     |
[INFO] [stdout] 394 |                 (min, max) => Occurrences::Range(min..=max),
[INFO] [stdout]     |                               ^^^^^^^^^^^ use of undeclared type `Occurrences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Occurrences` in this scope
[INFO] [stdout]    --> src/schema/types.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub enum Occurences {
[INFO] [stdout]     | ------------------- similarly named enum `Occurences` defined here
[INFO] [stdout] ...
[INFO] [stdout] 158 | impl Occurrences {
[INFO] [stdout]     |      ^^^^^^^^^^^ help: an enum with a similar name exists: `Occurences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Occurrences` in this scope
[INFO] [stdout]    --> src/schema/types.rs:362:27
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub enum Occurences {
[INFO] [stdout]     | ------------------- similarly named enum `Occurences` defined here
[INFO] [stdout] ...
[INFO] [stdout] 362 |     impl StrictEncode for Occurrences {
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: an enum with a similar name exists: `Occurences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Occurrences` in this scope
[INFO] [stdout]    --> src/schema/types.rs:381:27
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub enum Occurences {
[INFO] [stdout]     | ------------------- similarly named enum `Occurences` defined here
[INFO] [stdout] ...
[INFO] [stdout] 381 |     impl StrictDecode for Occurrences {
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: an enum with a similar name exists: `Occurences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/schema/nodes.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub metadata: MetadataStructure,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]     = note: required by `std::default::Default::default`
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/schema/nodes.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub metadata: MetadataStructure,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]     = note: required by `std::default::Default::default`
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/schema/nodes.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub metadata: MetadataStructure,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]     = note: required by `std::default::Default::default`
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 48 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rgb-core`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8c05d591d7eadd195feba9491b067e87231f1d93f822a337437be7c9e0e3a0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c05d591d7eadd195feba9491b067e87231f1d93f822a337437be7c9e0e3a0c6", kill_on_drop: false }`
[INFO] [stdout] 8c05d591d7eadd195feba9491b067e87231f1d93f822a337437be7c9e0e3a0c6
